module.exports = {
    // 服务器配置
    server: {
        port: process.env.PORT || 3000,
        host: '0.0.0.0'
    },
    
    // 静态文件配置
    static: {
        maxAge: '1d',
        etag: true
    },
    
    // 上传文件配置
    upload: {
        maxSize: 10 * 1024 * 1024, // 10MB
        allowedTypes: [
            'image/jpeg',
            'image/png',
            'image/gif',
            'application/pdf',
            'application/msword',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            'text/plain'
        ]
    },
    
    // 安全配置
    security: {
        cors: {
            origin: '*',
            methods: ['GET', 'POST'],
            allowedHeaders: ['Content-Type']
        }
    }
}; 